const app = getApp()
Component({
  /**
   * 组件的属性列表
   */
  properties: {
    obj: {
      type: Object,
      value:  [{
			"id": 0,
			"mark": '/images/zcr-icon.png',
			"src": '/images/common/discuss.png',
			"name": '交通一点通',
			"title": '五一小长假，打卡网红地',
		}
	],
    }
	
  },

  /**
   * 组件的初始数据
   */
  data: {
	imgUrl:'https://images.weserv.nl/?url=',
	interval: 5000,
	duration: 500,
	currentIndex: 0,
  },

  /**
   * 组件的方法列表
   */
  methods: {
	bannerChange: function(e) {
		let current = e.detail.current;
		this.setData({
			currentIndex: current
		})
	},
  }
})
